package com.cmyshare.design.compositePattern;

/**
 * @Author cmy
 * @Date 2025/7/5 17:53
 * @version 1.0
 * @desc 定义Leaf类ProjectAssistant 项目助理
 */
public class ProjectAssistant extends Employer{
    public ProjectAssistant(String name){
        setName(name);
        employers=null;//项目助理,表示没有下属了
    }

    @Override
    public void add(Employer employer) {

    }

    @Override
    public void delete(Employer employer) {

    }
}
